import javax.xml.crypto.Data;
import java.util.*;

public class Person {
    public String name;
    public int age;
    public Person(){
        System.out.println("不带参数的构造方法");
    }

    public Person(String name, int age) {
        this.name = name;
        this.age = age;
        System.out.println("带2个参数的构造方法");
    }
    public void sleep(){
        System.out.println(this.name+"正在睡觉");
    }

    public static void main(String[] args) {
        Date date= new Date();
        System.out.println(date.getTime());
    }


}
